import style from './style.css';
import React,{Component} from 'react';
import {Table as Table_ant} from 'antd';
import $ from 'jquery';

export const  Table=  class extends Component{
    constructor(){
        super();
    }
    componentDidMount(){
        $("." + style.sxqtable).mCustomScrollbar({
            theme:"light-thin"
        });
    }
    render(){
        let props = this.props;
        return(
            <Table_ant pagination = {false} showHeader = {false} {...props} style = {{...props.style,height:'100%',overflow:'hidden'}} className = {style.sxqtable}/>
        )
    }
} 
